package miage.gestioncabinet.corem;

import miage.gestioncabinet.api.Personne;

public abstract class PersonneM implements Personne{
	/**
	 * 
	 */
	private static final long serialVersionUID = 489472757788143325L;
	protected long id;
	protected String nom;
	protected String prenom;
	
	@Override
	public String getNom() {
		return this.nom;
	}

	@Override
	public void setNom(String nom) {
		this.nom = nom;
	}

	@Override
	public String getPrenom() {
		return this.prenom;
	}

	@Override
	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}

	public String toString() {
		return this.prenom + " " + this.nom;
	}
}
